/*
* @Date: 2021/1/22
* @Author: XueChengwu <xuechengwu@erayt.com>
* @Copyright: 2015-2019 Erayt, Inc.
* @Description: If you have some questions, please contact: xuechengwu@erayt.com.
*/

export default {
  display: 'inline-block',
  props: [{
    key: 'allowClear',
    type: 'boolean',
    label: '清除',
  }, {
    key: 'bordered',
    type: 'boolean',
    label: '边框',
  }, {
    key: 'defaultValue',
    type: 'string',
    label: '默认值',
  }, {
    key: 'disabled',
    type: 'boolean',
    label: '禁用',
  }, {
    key: 'maxLength',
    type: 'number',
    label: '最大长度',
  }, {
    key: 'size',
    type: 'select',
    options: ['large', 'middle', 'small'],
    label: '大小',
  }, {
    key: 'type',
    type: 'select',
    options: ['input', 'date', 'number', 'money', 'textarea', 'password', 'search'],
    label: '类型',
  }, {
    key: 'value',
    type: 'string',
    label: '内容',
  }, {
    key: 'onChange',
    type: 'function',
    function: '(e)',
    label: '变化回调',
  }, {
    key: 'onPressEnter',
    type: 'function',
    function: '(e)',
    label: '回车回调',
  }]
}
